﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Mulala.Cavan.Domain.MainBoundedContext.DictionaryModule;
using Mulala.Cavan.Domain.MainBoundedContext.MulalaModule;
using Mulala.Cavan.Domain.MainBoundedContext.SearchModule;
using Mulala.Cavan.Application.MainBoundedContext.CacheModule;

namespace Mulala.Cavan.Application.MainBoundedContext.MulalaModule
{
    public class TagAppService : BaseAppService<Tag, TagSearch, ITagRepository>, ITagAppService
    {
        [Cache(true, "tag")]
        public override Tag GetById(int id)
        {
            return base.GetById(id);
        }

        [Cache(true, "tag")]
        public override IEnumerable<Tag> GetBySearch(TagSearch searchParams)
        {
            return base.GetBySearch(searchParams);
        }
    }
}
